package basic.thread.pool;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ExecutorDemo {

	public static void main(String[] args) {
	  ExecutorService pool = Executors.newFixedThreadPool(2);
	  pool.submit(new Mythread());
	  pool.submit(new Mythread());
	}

}
